//
// Created by zhouwd on 2019/7/2.
//

#ifndef IPTVSETTING_X265_ENCODE_H
#define IPTVSETTING_X265_ENCODE_H

#include <cstdlib>
#include <cstring>
extern "C"
{
#include "include/x264.h"
#include "include/x264_config.h"
};

typedef class X265ENCODE {
private:
    x264_nal_t* nal;
    x264_t* handle;
    x264_picture_t* pic_in;
    x264_picture_t* pic_out;
    x264_param_t param;

public:
    int init();
    int encode();
}X265_Encode;


#endif //IPTVSETTING_X265_ENCODE_H
